/*
 * Client.h
 *
 *  Created on: 22 mars 2012
 *      Author: root
 */

#ifndef CLIENT_H_
#define CLIENT_H_
#include <string>

using namespace std;

class Client {
private:
	long IdentifiantClient;
	string Nom;
	string Prenom;
	long CIN;
	string Adresse;
	long Tel;

public:

//Les constructeurs

	Client();
	Client(string,string,string,long,long,long);
	Client(const Client&);
	virtual ~Client();

//Les getteurs et les setteurs:

	string getNom()const;
	void setNom(string);

	string getPrenom()const;
	void setPrenom(string);

	string getAdresse()const;
	void setAdresse(string);

	long getTel()const;
	void setTel(long);

	long getCIN()const;
	void setCIN(long);

	long getIdentifiantClient()const;
	void setIdentifiantClient(long);


		friend ifstream& operator>>(ifstream&,Client&);
		friend ofstream& operator<<(ofstream& ,const Client& );
};

	ofstream& operator<<(ofstream& out,const Client& C);
	ifstream& operator>>(ifstream&,Client&);
#endif
